package cn.huyanbing.middleware.thread.research;

/**
 * @BelongProject middleware
 * @BelongPackage cn.huyanbing.middleware.thread.research
 * @Description TODO
 * @ClassName ThreadLocalTest
 * @Author huyangbing
 * @Date 2024/11/18 20:11
 * @Version 1.0.0
 */
public class ThreadLocalTest {

    static ThreadLocal<String> threadLocalTest=new ThreadLocal<>();
    public static void main(String[] args) {

        threadLocalTest.set("huyangbing");

        String val=threadLocalTest.get();

        System.out.println(val);

    }
}
